package com.emergency.examine.domain;

import com.emergency.base.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

//试卷表
@Entity
@Table(name = "ex_paper")
public class Paper extends BaseEntity {

    private double duration;//考试时间 /分钟。

    private String note;//试卷备注

    private double score;//卷面分值
    /*试卷题目*/
    @Transient
    private List<PaperQuestion> paperQuestion;

    public double getDuration() {
        return duration;
    }

    public void setDuration(double duration) {
        this.duration = duration;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public List<PaperQuestion> getPaperQuestion() {
        return paperQuestion;
    }

    public void setPaperQuestion(List<PaperQuestion> paperQuestion) {
        this.paperQuestion = paperQuestion;
    }
}
